/**
 *    Copyright 2006-2017 the original author or authors.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */
package test.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class MerchantStatDayAccess implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.id
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Long id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.dataTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Date dataTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.dataType
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Byte dataType;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.appId
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private String appId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.userCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Integer userCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.totalCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Integer totalCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.successCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Integer successCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.failCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Integer failCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.cancelCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Integer cancelCount;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.successRate
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private BigDecimal successRate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.failRate
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private BigDecimal failRate;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.createTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column merchant_stat_day_access.lastUpdateTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private Date lastUpdateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table merchant_stat_day_access
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.id
     *
     * @return the value of merchant_stat_day_access.id
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.id
     *
     * @param id the value for merchant_stat_day_access.id
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.dataTime
     *
     * @return the value of merchant_stat_day_access.dataTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Date getDataTime() {
        return dataTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.dataTime
     *
     * @param dataTime the value for merchant_stat_day_access.dataTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.dataType
     *
     * @return the value of merchant_stat_day_access.dataType
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Byte getDataType() {
        return dataType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.dataType
     *
     * @param dataType the value for merchant_stat_day_access.dataType
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setDataType(Byte dataType) {
        this.dataType = dataType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.appId
     *
     * @return the value of merchant_stat_day_access.appId
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public String getAppId() {
        return appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.appId
     *
     * @param appId the value for merchant_stat_day_access.appId
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.userCount
     *
     * @return the value of merchant_stat_day_access.userCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Integer getUserCount() {
        return userCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.userCount
     *
     * @param userCount the value for merchant_stat_day_access.userCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setUserCount(Integer userCount) {
        this.userCount = userCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.totalCount
     *
     * @return the value of merchant_stat_day_access.totalCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Integer getTotalCount() {
        return totalCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.totalCount
     *
     * @param totalCount the value for merchant_stat_day_access.totalCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.successCount
     *
     * @return the value of merchant_stat_day_access.successCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Integer getSuccessCount() {
        return successCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.successCount
     *
     * @param successCount the value for merchant_stat_day_access.successCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setSuccessCount(Integer successCount) {
        this.successCount = successCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.failCount
     *
     * @return the value of merchant_stat_day_access.failCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Integer getFailCount() {
        return failCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.failCount
     *
     * @param failCount the value for merchant_stat_day_access.failCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setFailCount(Integer failCount) {
        this.failCount = failCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.cancelCount
     *
     * @return the value of merchant_stat_day_access.cancelCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Integer getCancelCount() {
        return cancelCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.cancelCount
     *
     * @param cancelCount the value for merchant_stat_day_access.cancelCount
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setCancelCount(Integer cancelCount) {
        this.cancelCount = cancelCount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.successRate
     *
     * @return the value of merchant_stat_day_access.successRate
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public BigDecimal getSuccessRate() {
        return successRate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.successRate
     *
     * @param successRate the value for merchant_stat_day_access.successRate
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setSuccessRate(BigDecimal successRate) {
        this.successRate = successRate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.failRate
     *
     * @return the value of merchant_stat_day_access.failRate
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public BigDecimal getFailRate() {
        return failRate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.failRate
     *
     * @param failRate the value for merchant_stat_day_access.failRate
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setFailRate(BigDecimal failRate) {
        this.failRate = failRate;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.createTime
     *
     * @return the value of merchant_stat_day_access.createTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.createTime
     *
     * @param createTime the value for merchant_stat_day_access.createTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column merchant_stat_day_access.lastUpdateTime
     *
     * @return the value of merchant_stat_day_access.lastUpdateTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column merchant_stat_day_access.lastUpdateTime
     *
     * @param lastUpdateTime the value for merchant_stat_day_access.lastUpdateTime
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table merchant_stat_day_access
     *
     * @mbg.generated Mon Jun 26 11:09:00 CST 2017
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", dataTime=").append(dataTime);
        sb.append(", dataType=").append(dataType);
        sb.append(", appId=").append(appId);
        sb.append(", userCount=").append(userCount);
        sb.append(", totalCount=").append(totalCount);
        sb.append(", successCount=").append(successCount);
        sb.append(", failCount=").append(failCount);
        sb.append(", cancelCount=").append(cancelCount);
        sb.append(", successRate=").append(successRate);
        sb.append(", failRate=").append(failRate);
        sb.append(", createTime=").append(createTime);
        sb.append(", lastUpdateTime=").append(lastUpdateTime);
        sb.append("]");
        return sb.toString();
    }
}